<?php  define('IN_DAEM', true); include '../includes/init.php'; $userAry = get_user_realname(); $versionAry = array(); $sql = "select distinct version from ".DB_DAEMDB.".".TB_SUFFIX."task_job"; $query = $db->query($sql); $key = 1; while ($row = $db->fetch_array($query)) { $versionAry[$key] = $row['version']; $key ++; } $id = $_GET['id']; if (!empty($id)) { $sql = "select * from ".DB_DAEMDB.".".TB_SUFFIX."task_job where id = '".$id."'"; $result = $db->query_first($sql); if (empty($result)) { gourl('未能找到该记录信息', 'task_manager.php'); } } include template(); 